package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.UacResident;
import com.csun.cmny.provider.model.dto.resident.ResidentDto;
import com.csun.cmny.provider.model.dto.resident.ResidentQueryDto;
import com.github.pagehelper.PageInfo;

public interface UacResidentService extends IService<UacResident> {

    /*
     * 居民人员-添加
     * */
    Integer addResident(ResidentDto residentDto, LoginAuthDto loginAuthDto);

    /*
     * 居民人员-修改
     * */
    Integer updateResident(ResidentDto residentDto, LoginAuthDto loginAuthDto);

    /**
     * 显示详情
     * @param residentId
     * @return
     */
    ResidentDto showResident(Long residentId);

    /*
     * 居民人员-删除
     * */
    Integer deleteResidentById(Long residentId);

    /*
     * 居民人员-分页查询
     * */
    PageInfo listPage(ResidentQueryDto residentQueryDto);

}
